-
Notifications
You must be signed in to change notification settings - Fork 619
[TOOL-3447] Dashboard: Remove /v1/keys usage #6293
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
🦋 Changeset detectedLatest commit: 8610b46 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
How to use the Graphite Merge QueueAdd either label to this PR to merge it via the merge queue:
You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. This stack of pull requests is managed by Graphite. Learn more about stacking. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #6293 +/- ##
=======================================
Coverage 56.83% 56.83%
=======================================
Files 1168 1168
Lines 64793 64793
Branches 5260 5260
=======================================
Hits 36824 36824
Misses 27242 27242
Partials 727 727
*This pull request uses carry forward flags. Click here to find out more. |
size-limit report 📦
|
02d52bd to
b406a86
Compare
b406a86 to
15a8366
Compare
15a8366 to
f8f457f
Compare
f8f457f to
a56c6e4
Compare
|
changeset added |
a56c6e4 to
6146dcf
Compare
Merge activity
|
<!-- start pr-codex -->
## PR-Codex overview
This PR focuses on refactoring the project and team management functionalities in the application, specifically updating the handling of API keys, project settings, and team responses, alongside improving redirection logic and type definitions.
### Detailed summary
- Removed `getAPIKeys.ts`.
- Updated types for `TeamResponse` and `ProjectResponse`.
- Changed redirection logic in various components to use the correct team/project slugs.
- Updated `ProjectGeneralSettingsPage` to use the new project structure.
- Refactored API key handling to support new project structure.
- Replaced instances of `LazyCreateAPIKeyDialog` with `LazyCreateProjectDialog`.
- Updated service utilities to include new project-related types.
- Improved error handling and user feedback in settings pages.
> The following files were skipped due to too many changes: `apps/dashboard/src/@3rdweb-sdk/react/hooks/useApi.ts`, `apps/dashboard/src/components/settings/ApiKeys/Create/index.tsx`, `apps/dashboard/src/app/team/[team_slug]/[project_slug]/settings/ProjectGeneralSettingsPage.tsx`
> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`
<!-- end pr-codex -->
6146dcf to
8610b46
Compare

PR-Codex overview
This PR focuses on refactoring the handling of API keys and project settings within the application, consolidating logic, and improving type definitions for better clarity and maintainability.
Detailed summary
getAPIKeys.ts.TeamResponseandProjectResponse.notFound()withredirect()in various components for better navigation.LazyCreateAPIKeyDialogtoLazyCreateProjectDialog.service-utils.